class CryptUserPassword < ActiveRecord::Migration
  def self.up
    User.transaction do
      User.find(:all).each do |user|
        user.password = '123456'
        user.save!
      end
    end
  end

  def self.down
  end
end
